package com.tckdq.tcc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
// 注册到Nacos
@EnableDiscoveryClient
@EnableCaching
@EnableFeignClients
//开启定时任务
@EnableScheduling
public class CourseApp {

    public static void main(String[] args) {
        SpringApplication.run(CourseApp.class, args);
    }

}
